package com.zyx.thread4;

public class Test01 {
    public static void main(String[] args) {
        Kitchen kc = new Kitchen();
        Mother mother = new Mother(kc);
        Childen c1 = new Childen("aa", kc, 10);
        Childen c2 = new Childen("bb", kc, 7);
        Childen c3 = new Childen("cc", kc, 5);

        mother.start();
        c1.start();
        c2.start();
        c3.start();
    }
}
